package cn.hxlc.tie.demo.modular.jf.mapper;

import cn.hxlc.tie.demo.modular.jf.entity.XjfWorkOrderEntry;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfWorkOrderEntryParam;
import cn.hxlc.tie.demo.modular.jf.model.result.XjfWorkOrderEntryResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface XjfWorkOrderEntryMapper extends BaseMapper<XjfWorkOrderEntry> {

    Page<XjfWorkOrderEntryResult> customPageList(@Param("page") Page page, @Param("paramCondition") XjfWorkOrderEntryParam paramCondition);

    Page<XjfWorkOrderEntryResult> queryXdEntryListPage(@Param("page") Page page, @Param("paramCondition") XjfWorkOrderEntryParam paramCondition);

    Page<XjfWorkOrderEntryResult> queryInstoreEntryListPage(@Param("page") Page page, @Param("paramCondition") XjfWorkOrderEntryParam paramCondition);


    List<XjfWorkOrderEntryResult>queryDetail(Long fid);

    XjfWorkOrderEntryResult queryByFmaterialId (Long fmaterialid);

    List<XjfWorkOrderEntryResult> customList(@Param("paramCondition") XjfWorkOrderEntryParam paramCondition);
}
